<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{$settingTitle}</title>
    <meta name="keywords" content="{$settingKeywords}">
    <meta name="description" content="{$settingDescription}">
    {include file="public/resource/css" /}
    <style type="text/css">
        .friend-link {
            width: 1200px;
            position: relative;
            margin: 0 auto;
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
            justify-content: space-between;
            background: #fff;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            border-radius: 10px;
        }
        .friend-link .item-title {
            width: 1170px;
            color: #333;
            font-size: 18px;
            font-weight: 500;
            line-height: 26px;
            border-bottom: 1px solid #ebedf0;
            padding-bottom: 5px;
        }
        .friend-link .link-list {
            width: 1170px;
            margin-top: 10px;
        }

        .friend-link .link-content {
            padding: 15px;
        }

        .friend-link .link-list a {
            display: inline-block;
            margin: 10px auto;
            padding: 0 10px;
            font-size: 14px;
            border-right: 1px solid #ddd;
        }
        .friend-link a:last-child {
            border: none;
        }
    </style>
</head>
<body>
<div id="app">
    {include file="public/header" /}
    <div class="mian">
        <div  class="goods_container">
            <div style="height: 20px;"></div>
            <div class="goodsCapition">
                <p>
                    <span class="text1">精选好货</span>
                </p>
                <div class="rightText">
                    <a href="/recommend.html">更多</a>
                </div>
            </div>
            <div  class="goods_list_wrap">
                <div  class="goods_prod_list_left">
                    {volist name='recommends' id='item'}
                    <div class="goods_card" {php} if(($key + 1) % 5 == 0){{/php}style="margin-right:0"{php}}{/php}>
                        <div>
                            <a href="/item/{$item.dtk_goods_id}.html">
                                <img  alt="{$item.short_title}" class="main_img" src="{$item.pic}">
                            </a>
                        </div>
                        <div  class="goods_card_title">
                            <img src="" alt="">
                            <span><a href="/item/{$item.dtk_goods_id}.html">{$item.short_title}</a></span>
                        </div>
                        <div  class="goods_card_tags">
<!--                            <span class="tag"></span>-->
                            <span class="tag" style="margin-right: 0px;">券{$item.coupon_price}元</span>
                        </div>
                        <div class="goods_card_price">
                            <span>
                                <span class="curr">￥</span>
                                <span class="price">{$item.actual_price}</span>
                            </span>
                            <span class="sale"> 已售{$item.sales}+件</span></div>
                    </div>
                    {/volist}
                </div>
            </div>
        </div>

        <div class="goods_container">
            <div class="goodsCapition">
                <p>
                    <span class="text1">热卖推荐</span>
                </p>
                <div class="rightText">
                    <a href="/hot-sale.html">更多</a>
                </div>
            </div>
            <div  class="goods_list_wrap">
                <div  class="goods_prod_list_left">
                    {volist name='hotSales' id='item'}
                    <div class="goods_card" {php} if(($key + 1) % 5 == 0){{/php}style="margin-right:0"{php}}{/php}>
                        <div>
                            <a href="/item/{$item.dtk_goods_id}.html">
                                <img  alt="{$item.short_title}" class="main_img" src="{$item.pic}">
                            </a>
                        </div>
                        <div  class="goods_card_title">
                            <img src="" alt="">
                            <span><a href="/item/{$item.dtk_goods_id}.html">{$item.short_title}</a></span>
                        </div>
                        <div  class="goods_card_tags">
                            <!--                            <span class="tag"></span>-->
                            <span class="tag" style="margin-right: 0px;">券{$item.coupon_price}元</span>
                        </div>
                        <div class="goods_card_price">
                                <span>
                                    <span class="curr">￥</span>
                                    <span class="price">{$item.actual_price}</span>
                                </span>
                            <span class="sale"> 已售{$item.sales}+件</span></div>
                    </div>
                    {/volist}
                </div>
            </div>
        </div>

        <div class="goods_container">
            <div class="goodsCapition">
                <p>
                    <span class="text1">大额优惠券推荐</span>
                </p>
                <div class="rightText">
                    <a href="/big-coupon.html">更多</a>
                </div>
            </div>
            <div  class="goods_list_wrap">
                <div  class="goods_prod_list_left">
                    {volist name='bigCoupons' id='item'}
                    <div class="goods_card" {php} if(($key + 1) % 5 == 0){{/php}style="margin-right:0"{php}}{/php}>
                        <div>
                            <a href="/item/{$item.dtk_goods_id}.html">
                                <img  alt="{$item.short_title}" class="main_img" src="{$item.pic}">
                            </a>
                        </div>
                        <div  class="goods_card_title">
                            <img src="" alt="">
                            <span><a href="/item/{$item.dtk_goods_id}.html">{$item.short_title}</a></span>
                        </div>
                        <div  class="goods_card_tags">
                            <!--                            <span class="tag"></span>-->
                            <span class="tag" style="margin-right: 0px;">券{$item.coupon_price}元</span>
                        </div>
                        <div class="goods_card_price">
                                <span>
                                    <span class="curr">￥</span>
                                    <span class="price">{$item.actual_price}</span>
                                </span>
                            <span class="sale"> 已售{$item.sales}+件</span></div>
                    </div>
                    {/volist}

                </div>
            </div>
        </div>

        <div class="friend-link">
            <div class="link-content">
                <div class="item-title">
                    &nbsp;友情链接
                </div>
                <div class="link-list">
                    {volist name='friendLinks' id='link'}
                    <a {eq name="$link.type" value="1"}target="_blank"{/eq} href="{$link.url}" {eq name="key" value="count(bottomLinks) -1"}class="last"{/eq}>
                    {$link.name}
                    </a>
                    {/volist}
                </div>
            </div>
        </div>
        <div style="height: 20px;"></div>
    </div>
    {include file="public/footer" /}
</div>
</body>
</html>